#pragma once
#ifndef __TESTCELL__H__
#define __TESTCELL__H__

#include "ATTest.h"

class CellTestCase : public TestCase
{
public:
	CellTestCase(const Char* pszName) : TestCase(pszName)
	{
		Add(NEW_TEST(CellTestCase::TestCreatCell));
//		Add(NEW_TEST(CellTestCase::TestSetValue));
		Add(NEW_TEST(CellTestCase::TestEqual));
	}
	~CellTestCase()
	{
	}

	int TestCreatCell()
	{
		ATSudokuEngine::Cell anInvalidCell(0);
		ATSudokuEngine::Cell aValidCell(1);

		ATASSERT(anInvalidCell == ATSudokuEngine::INVALID_VALUE);
		ATASSERT(aValidCell == (UInt32)1);
		return 0;
	}

	int TestEqual()
	{
		ATSudokuEngine::Cell aCell1(1);
		ATSudokuEngine::Cell aCell2(1);

		ATASSERT(aCell1 == aCell2);
		return 0;
	}
/*
	int TestSetValue()
	{
		ATSudokuEngine::Cell aCell(0);

		ATASSERT(ATSudokuEngine::INVALID_VALUE == aCell.Value());

		aCell.Value(1);

		ATASSERT(1 == aCell.Value());
		return 0;
	}
*/
};

#endif